package com.atguigu.springcloud.alibaba.dao;

import com.atguigu.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.PathVariable;

@Mapper
public interface OrderDao {
    //1.新建订单
     void create(Order order);
     //2.修改订单状态，从零改为1
     void update(@PathVariable("userId") Long userId,@PathVariable("status") Integer status);

}
